widget: Add checks for setting state flags
authorBenjamin Otte <otte@redhat.com>
Fri, 15 Aug 2014 14:51:42 +0000 (16:51 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 16 Aug 2014 14:34:15 +0000 (16:34 +0200)
commit65cc3630c883ef2945d5067d39b440763a379822
treec68ebb43976da9d794e69ff7207589c5884cd634
parente5d0d5f9e6f61491441b734775506f6c6428551e
widget: Add checks for setting state flags

This is more for GTK developers to catch when they forgot to change
GTK_STATE_FLAGS_BITS after adding a new state flag than to prevent
widget developers from using the wrong flags.
gtk/gtkwidget.c